import request from '@/utils/request'

export function getBankcardList(query) {
  return request({
    url: '/finance/bankcard/getList',
    method: 'post',
    data: query
  })
}

export function getBankcardDetail(id) {
  return request({
    url: '/finance/bankcard/getDetail',
    method: 'post',
    data: id 
  })
}

export function saveBankcard(id) {
  return request({
    url: '/finance/bankcard/save',
    method: 'post',
    data: id
  })
}

export function removeBankcardByID(id) {
  return request({
    url: '/finance/bankcard/remove',
    method: 'post',
    data: id
  })
}

export function changeStatusByBankcardID(id) {
  return request({
    url: '/finance/bankcard/change-status',
    method: 'post',
    data: id
  })
}

